package com.bsj.power.common.def.dto.video;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 自动关闭视频DTO
 * @Author zhaoyang
 * @Date 2023/6/19 14:23
 */
@Data
@NoArgsConstructor
public class VideoCloseRecoveryDTO {

    private static final long serialVersionUID = 1L;
    /**
     * 车辆id
     */
    private Long vehicleId;

    /**
     * 设备号
     */
    private String terminalNo;

    /**
     * 开始下发时间戳
     */
    private Long firstTimeLong;

    /**
     * 最后过期时间戳
     */
    private Long lastTimeLong;

    /**
     * 码流类型: 0是高清，1是标清,2是回放
     */
    private Integer streamType;

    public VideoCloseRecoveryDTO(Long vehicleId, String terminalNo, Long firstTimeLong, Long lastTimeLong, Integer streamType) {
        this.vehicleId = vehicleId;
        this.terminalNo = terminalNo;
        this.firstTimeLong = firstTimeLong;
        this.lastTimeLong = lastTimeLong;
        this.streamType = streamType;
    }

}
